<template>
    <div id="Stock">
        <head-top head-title="库存管理" go-back="true" set-more="true"></head-top>
        <scroller style="top:50px;" :on-refresh="refresh" refresh-text="重新载入...">
            <h1 id="cont">{{msg}}</h1>
        </scroller>
    </div>
</template>
<script>
import headTop from '@/components/header'
export default {
    name: 'Stock',
    data() {
        return {
            msg: "我是库存页面",
            headConfig: {
                title: "车辆库存"
            }
        }
    },
    mounted: function () {

    },
    methods: {
        refresh(done) {
            setTimeout(()=> {
                this.msg+="我是刷新后的。"
                done();
            }, 1500);
        }
    },
    components: {
        headTop
    }
}
</script>
<style lang="scss">

</style>